using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class EndTurnButtonUI : MonoBehaviour
{
    private Button button;

    private void Awake()
    {
        button = GetComponent<Button>();
    }
    // Start is called before the first frame update
    void Start()
    {
        button.onClick.AddListener(OnClick);
    }
    public void OnClick()
    {
        Debug.Log("End Turn Button Clicked");
        EnemyTurnGA enemyTurnGA = new ();
        ActionSystem.instance.Perform(enemyTurnGA);
    }

}
